<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>怎么看错误提示!!</title>
    <!--
        进入到调试器ctrl+shift+i，就可以看到错误
        一定要get
    -->
    <script type="text/javascript">
        var age = 10;
        age = "abc"
        age = 1.1;
        age = null;
        console.log("hi");

        name = 'a';
        console.log(typeof name);//string->我们现在在将js,不是java

        age = 1.1;
        console.log(typeof age);
        age = 100;
        console.log(typeof age);
    </script>
</head>
<body>

</body>
</html>
